<?php

namespace app\api\controller;

use app\services\ExpressService;
use app\services\UserService;
use support\Request;

class ExpressController
{
    public function list(Request $request)
    {
        try {
            $list = ExpressService::list();

            return ok_rsp('成功', $list);
        } catch (\Exception $e) {
            return err_rsp($e->getMessage());
        }
    }
}